package com.uduew.sjd.api;

import static com.uduew.sjd.config.Const.APPOINT_FORM;

import androidx.annotation.NonNull;

import com.uduew.sjd.bean.AppointFormBean;
import com.uduew.sjd.bean.MotheryBean;
import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestBodyStrategy;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.RequestBodyType;

import java.util.ArrayList;


public class AppointFormApi implements IRequestApi, IRequestType {

    private AppointFormBean overripe;

    public AppointFormApi(String control, String theologist) {
        this.overripe = new AppointFormBean(control, theologist);
    }

    @NonNull
    @Override
    public String getApi() {
        return APPOINT_FORM;
    }

    /**
     * 获取参数的提交类型
     */
    @NonNull
    @Override
    public IRequestBodyStrategy getBodyType() {
        return RequestBodyType.JSON;
    }

    public static final class AbsquatulationBean {
        private ArrayList<MotheryBean> mothery;
        private String unparallel;
        private PersianBean persian;

        public ArrayList<MotheryBean> getMothery() {
            return mothery;
        }

        public String getUnparallel() {
            return unparallel;
        }

        public PersianBean getPersian() {
            return persian;
        }
    }

    public static final class PersianBean {
        public String houseplace;
        private String fattish;
        private String advocation;
        private String overset;
        private String pathetic;
        private GoneBean gone;
        private String bacteriolytic;
        private String speck;
        private String osteopathy;
        private OpisthobranchBean opisthobranch;
        private String idiophonic;
        private String kelleg;
        private String xenogenetic;
        private String coverer;
        private String nightstool;
        private BlackbirdBean blackbird;
        private ArrayList<FeatherweightBean> featherweight;
        private OfsBean ofs;
        private String elves;
        private String agnosia;
        private String jaybird;
        private OweBean owe;
        private String basion;
        private String quite;
        private String wolverene;
        private String slidden;
        private String moronism;
        private UptrendBean uptrend;
        private ArrayList<AngiotensinBean> angiotensin;
        private String wither;

        @Override
        public String toString() {
            return "PersianBean{" +
                    "houseplace='" + houseplace + '\'' +
                    ", fattish='" + fattish + '\'' +
                    ", advocation='" + advocation + '\'' +
                    ", overset='" + overset + '\'' +
                    ", pathetic='" + pathetic + '\'' +
                    ", gone=" + gone +
                    ", bacteriolytic='" + bacteriolytic + '\'' +
                    ", speck='" + speck + '\'' +
                    ", osteopathy='" + osteopathy + '\'' +
                    ", opisthobranch=" + opisthobranch +
                    ", idiophonic='" + idiophonic + '\'' +
                    ", kelleg='" + kelleg + '\'' +
                    ", xenogenetic='" + xenogenetic + '\'' +
                    ", coverer='" + coverer + '\'' +
                    ", nightstool='" + nightstool + '\'' +
                    ", blackbird=" + blackbird +
                    ", featherweight=" + featherweight +
                    ", ofs=" + ofs +
                    ", elves='" + elves + '\'' +
                    ", agnosia='" + agnosia + '\'' +
                    ", jaybird='" + jaybird + '\'' +
                    ", owe=" + owe +
                    ", basion='" + basion + '\'' +
                    ", quite='" + quite + '\'' +
                    ", wolverene='" + wolverene + '\'' +
                    ", slidden='" + slidden + '\'' +
                    ", moronism='" + moronism + '\'' +
                    ", uptrend=" + uptrend +
                    ", angiotensin=" + angiotensin +
                    ", wither='" + wither + '\'' +
                    '}';
        }
    }

    public static final class GoneBean {
        private String iww;
        private String cautionary;

    }

    public static final class OpisthobranchBean {
        private String proinsulin;
        private String idiophonic;
        private HuffishBean huffish;
    }

    public static final class HuffishBean {

        private String bndd;
        private String antennary;
        private String amidship;
        private String unmerciful;

    }

    public static final class BlackbirdBean {
        private HuffishBean huffish;
        private String proinsulin;
        private String idiophonic;
    }

    public static final class FeatherweightBean {
        private String giglot;
        private String unparallel;
        private String physiographer;
    }

    public static final class OfsBean {
        private String aerification;
        private String melaleuca;
        private String cum;
        private String lough;
        private String rosy;
    }

    public static final class OweBean {
        private String tabasco;
        private String dopehead;
        private String bookselling;
        private String perplexedly;

    }

    public static final class UptrendBean {
        private String recipe;
        private String iamb;
        private String dactylioglyphy;
        private String unblamed;

    }

    public static final class AngiotensinBean {
        private String beastly;
        private String giglot;

    }


}
